package com.gitee.pifeng.monitoring.ui.business.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("MONITOR_FEED")
@ApiModel(value = "MonitorFeed对象", description = "运维单表")
public class MonitorFeed implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "工单单号")
    @TableField("FEED_NUMBER")
    private String feedNumber;

    @ApiModelProperty(value = "工单标题")
    @TableField("FEED_TITLE")
    private String feedTitle;

    @ApiModelProperty(value = "提交人")
    @TableField("SUBMIT_USER")
    private String submitUser;

    @ApiModelProperty(value = "提交时间")
    @TableField("SUBMIT_TIME")
    private Date submitTime;

    @ApiModelProperty(value = "解决人")
    @TableField("SOLVE_USER")
    private String solveUser;

    @ApiModelProperty(value = "解决时间")
    @TableField("SOLVE_TIME")
    private Date solveTime;

    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "内容")
    @TableField("CONTENT")
    private String content;

    @ApiModelProperty(value = "电话")
    @TableField("PHONE")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    @TableField("EMAIL")
    private String email;
    @ApiModelProperty(value = "评价")
    @TableField("APPRAISE")
    private String appraise;
    @ApiModelProperty(value = "运维报告状态")
    @TableField("CANT_REPORT")
    private Integer cantReport;
    @ApiModelProperty(value = "处理部门")
    @TableField("DEPARTMENT")
    private String department;
}
